package com.lm56.web.sys.mapper;

import com.lm56.web.sys.domain.Catalog;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Kelvin Yeung on 2016/11/30.
 */
public interface CatalogMapper {

    List<Catalog> getCatalogs();

    List<Catalog> getEnabledCatalog();

    void insertCatalogs(List<Catalog> catalogs);

    void updateCatalog(Catalog catalog);

    void deleteCatalogByCode(@Param("catCode")String catCode);


}
